package cn.taobaoke.restful.domain;

import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;


/**
 * @author yangzuo
 * @since 2017-03-15
 */
public interface GlobalConfigRepository extends JpaRepository<GlobalConfig, Long> {

    Optional<GlobalConfig> findByTypeAndDomainId(String type, Long domainId);
}
